﻿<Window x:Class="MPE.replaceWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:MPE"
        mc:Ignorable="d"
        Title="Замена" Height="189.091" Width="381.818" WindowStyle="ToolWindow" MouseLeftButtonDown="Window_MouseLeftButtonDown" WindowStartupLocation="CenterScreen">
    <Grid>
        <TextBox x:Name="tbFind" HorizontalAlignment="Left" Height="23" Margin="71,14,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="293" KeyUp="TbFind_KeyUp" TabIndex="1"/>
        <Label Content="Найти" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
        <CheckBox x:Name="cbMatchCase" Content="Учитывать регистр" ToolTip="Учитывать регистр при поиске" HorizontalAlignment="Left" Margin="73,47,0,0" VerticalAlignment="Top"/>
        <CheckBox x:Name="cbWholeWord" Content="Слово целиком" ToolTip="Искать слово целиком" HorizontalAlignment="Left" Margin="201,47,0,0" VerticalAlignment="Top"/>
        <CheckBox x:Name="cbRegex" Content="Regex" ToolTip="Испольовать регулярные выражения" HorizontalAlignment="Left" Margin="312,47,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="tbReplace" HorizontalAlignment="Left" Height="23" Margin="71,89,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="293" TabIndex="2"/>
        <Label Content="Заменить" HorizontalAlignment="Left" Margin="10,85,0,0" VerticalAlignment="Top"/>
        <Button x:Name="btReplaceAll" Content="Заменить всё" HorizontalAlignment="Left" Margin="233,129,0,0" VerticalAlignment="Top" Width="87" Click="BtReplaceAll_Click"/>
        <Button x:Name="btReplace" Content="Заменить" HorizontalAlignment="Left" Margin="153,129,0,0" VerticalAlignment="Top" Width="75" Click="BtReplace_Click"/>
        <Button x:Name="btFindNext" Content="Найти" HorizontalAlignment="Left" Margin="73,129,0,0" VerticalAlignment="Top" Width="75" Click="BtFindNext_Click"/>

    </Grid>
</Window>
